package com.oldbook.manage.domain;

import com.oldbook.common.annotation.Excel;
import com.oldbook.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 购物车管理对象 tb_cart
 *
 * @author Exiaoke
 * @date 2025-02-17
 */
@ApiModel(description = "购物车管理对象")
@Data // Lombok annotation to generate all the boilerplate that is normally required for POJOs.
@NoArgsConstructor // Generates a constructor with no parameters.
@AllArgsConstructor // Generates a constructor with 1 parameter for each field in the class.
public class Cart extends BaseEntity
        {
private static final long serialVersionUID = 1L;

    /**
     * 购物车ID
     */
    @ApiModelProperty(value = "购物车ID", name = "cartId", example = "", required = true)
    private Long cartId;

    /**
     * 用户ID
     */
            @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID", name = "studentId", example = "", required = true)
    private String studentId;

    /**
     * 教材ID
     */
            @Excel(name = "教材ID")
    @ApiModelProperty(value = "教材ID", name = "textbookId", example = "", required = true)
    private Long textbookId;

    /**
     * 创建人
     */
            @Excel(name = "创建人")
    @ApiModelProperty(value = "创建人", name = "createUser", example = "", required = true)
    private String createUser;

    /**
     * 修改人
     */
            @Excel(name = "修改人")
    @ApiModelProperty(value = "修改人", name = "updateUser", example = "", required = true)
    private String updateUser;

    /**
     * 状态：0-未确认 1-已确认
     */
            @Excel(name = "状态：0-未确认 1-已确认")
    @ApiModelProperty(value = "状态：0-未确认 1-已确认", name = "status", example = "", required = true)
    private String status;

    /**
     * 备注信息
     */
            @Excel(name = "备注信息")
    @ApiModelProperty(value = "备注信息", name = "remarks", example = "", required = true)
    private String remarks;


        }